
<div class="tableform">
<div  class=" widgetconfig">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
  <tbody>
    <tr>
      <th><{t app='b2c'}>文字内容：<{/t}></th>
      <td><textarea style="width: 80%;" name="ad_content" class="_x_ipt" vtype="required" ><{$setting.ad_content}></textarea></td>
    </tr>
    <tr>
      <th><{t app='b2c'}>文字链接：<{/t}></th>
      <td><input type="text" name="ad_text_link" value="<{$setting.ad_text_link}>"></td>
    </tr>
	<tr>
	  <th><{t app='b2c'}>加粗：<{/t}></th>
	  <td><input type="checkbox" name="border" <{if $setting.border}>checked<{/if}>></td>
    <tr>
      <th><{t app='b2c'}>文字尺寸：<{/t}></th>
      <td><select name="ad_text_size">
		<{if $setting.ad_text_size}>
	  		<option selected value=<{$setting.ad_text_size}>><{$setting.ad_text_size}></option>
		<{/if}>
		<{foreach from=$data item=data key=key}>
			<option value=<{$data}>><{$data}></option>
		<{/foreach}>
	</select></td>
    </tr>
    <tr>
      <th><{t app='b2c'}>文字颜色：<{/t}></th>
      <td><{input type="color" name="ad_text_color" value=$setting.ad_text_color|default:'default' }></td>
    </tr>
  </tbody>
</table>
</div>
</div>